package uk.co.tarbard.svnreporter.logentries;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class MockLogRetriever implements ILogRetriever {

	private boolean getLogEntriesWasCalled;

	public List<LogEntry> getLogEntries() {
		getLogEntriesWasCalled = true;

		List<LogEntry> logentries = new ArrayList<LogEntry>();
		logentries.add(new LogEntry(null, 1, "daz", new Date(), "message"));
		return logentries;
	}

	public boolean getLogEntriesWasCalled() {
		return getLogEntriesWasCalled;
	}

}
